package com.chenfan.mcn.model.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import com.chenfan.mcn.clients.baseinfo.AccountInfoVO;
import com.chenfan.mcn.model.CalculationDevided;
import com.chenfan.mcn.model.ContractExcutionOrder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 执行单-财务批量确认-导出DTO
 *
 * @author wulg
 * @date 2021-10-09
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class ExcutionOrderBatchConfirmOutputDTO extends ExcutionOrderBatchConfirmInputDTO {

    private static final long serialVersionUID = -1564258982326240457L;

    /**
     * 执行单ID
     */
    private Long id;

    /**
     * 流程实例ID
     */
    private Long approvalId;

    /**
     * 审批状态
     */
    private Integer flowStatus;

    /**
     * 当前审批节点名称
     */
    private String currentNodeName;

    /**
     * 是否通过
     */
    private Boolean approvalFlag;

    /**
     * 失败原因
     */
    @Excel(name = "失败原因" , orderNum = "100")
    private String failedReason;

    @JSONField(serialize = false)
    private AccountInfoVO accountInfoVO;

    @JSONField(serialize = false)
    private ContractExcutionOrder contractExcutionOrder;

    @JSONField(serialize = false)
    private CalculationDevided calculationDevided;
}
